package com.ruoyi.resource.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 小站对象 res_station
 * 
 * @author ruoyi
 * @date 2022-01-16
 */
public class ResStation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** Id */
    private Long id;

    /** 小站名 */
    @Excel(name = "小站名")
    private String name;

    /** 小站封面图 */
    @Excel(name = "小站封面图")
    private String cover;

    /**  小站作品数量 */
    @Excel(name = "作品数量")
    private String opusnum;

    public String getOpusnum() {
        return opusnum;
    }

    public void setOpusnum(String opusnum) {
        this.opusnum = opusnum;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setCover(String cover) 
    {
        this.cover = cover;
    }

    public String getCover() 
    {
        return cover;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("cover", getCover())
            .toString();
    }
}
